package com.example.sys.controller;

import com.example.common.entity.LoginUser;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("setting")
public class SettingController {

    @GetMapping
    public String getBackgroundImage(LoginUser loginUser){
        System.out.println("loginUser.getUserId() = " + loginUser.getUserId());
        System.out.println("loginUser.getUserName() = " + loginUser.getUserName());
        return "https://tse1-mm.cn.bing.net/th/id/OIP-C.mcF6ZHB4Iu0HGqc7D0H9AgHaEK?w=333&h=187&c=7&r=0&o=5&pid=1.7";
    }
}
